<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>


<script type="text/javascript">

	
	
	function getList(typeId,pageNum){
		$http.get("/blog/getList/"+typeId+"/"+pageNum).
		then(
			function successCallback(response) {
				var list = response.data;
				$("#list").html(list);
			}, function errorCallback(response) {
				$("#list").html("加载失败");
			}
		);
	}

</script>




	
	<div class="container">
		<div class="row">
			<div class="col-md-4">
				<div class="panel panel-default">
						<div class="panel-heading">排行</div>
						<div class="panel-body">
							<ul class="list-group">
	   							 <li class="list-group-item">
		   							 <span class="glyphicon glyphicon-pencil"></span> 
		   							 <a href="#">spring框架的第一天的学习笔记</a>
		   							<span class="pull-right">
		   							  	<span class="glyphicon glyphicon-thumbs-up"></span>
		   							 	 10
		   							  </span>
	   							 </li>
								<li class="list-group-item">
		   							 <span class="glyphicon glyphicon-pencil"></span> 
		   							 <a href="#">spring框架的第一天的学习笔记</a>
		   							<span class="pull-right">
		   							  	<span class="glyphicon glyphicon-thumbs-up"></span>
		   							 	 10
		   							  </span>
	   							 </li>
	   							 <li class="list-group-item">
		   							 <span class="glyphicon glyphicon-pencil"></span> 
		   							 <a href="#">spring框架的第一天的学习笔记</a>
		   							 <span class="pull-right">
		   							  	<span class="glyphicon glyphicon-thumbs-up"></span>
		   							 	 10
		   							  </span>
	   							 </li>
								<li class="list-group-item">
		   							 <span class="glyphicon glyphicon-pencil"></span> 
		   							 <a href="#">spring框架的第一天的学习笔记</a>
		   							 <span class="pull-right">
		   							  	<span class="glyphicon glyphicon-thumbs-up"></span>
		   							 	 10
		   							  </span>
	   							 </li>
	   							 <li class="list-group-item">
		   							 <span class="glyphicon glyphicon-pencil"></span> 
		   							 <a href="#">spring框架的第一天的学习笔记</a>
		   							 <span class="pull-right">
		   							  <span class="glyphicon glyphicon-thumbs-up"></span>
		   							 	 10
		   							  </span>
	   							 </li>
								<li class="list-group-item">
		   							 <span class="glyphicon glyphicon-pencil"></span> 
		   							 <a href="#">spring框架的第一天的学习笔记</a>
		   							  <span class="pull-right">
		   							  	<span class="glyphicon glyphicon-thumbs-up"></span>
		   							 	 10
		   							  </span>
	   							 </li>
							</ul>
						</div>
				</div>
			
			</div>
			<div class="col-md-8">
				<div class="panel panel-default">
						<div class="panel-heading">文章</div>
						<div class="panel-body">
							<div id="list">
								加载中。。。
							</div>
						</div>
				</div>
			
			</div>
		</div>
	</div>

